package GUI;

import javax.swing.*;
import java.awt.*;

public class A1 {
    public static void main(String[] args) {
        JFrame jFrame = new JFrame("小小怡飞");
        jFrame.setLayout(new FlowLayout(FlowLayout.CENTER));
        JLabel label = new JLabel("hello words");
        Container container = jFrame.getContentPane();
        JLabel label1 = new JLabel("你的");
        container.add(label1);
        container.add(label);

        jFrame.setSize(300,300);
        jFrame.setVisible(true);

    }
}
